package cn.btks.resultintegration.rule.service;

import cn.btks.commonserver.result.ResultState;
import cn.btks.resultintegration.rule.pojo.EnvironmentResourceRule;

/**
 * @Author lijun
 * @Date 2021/8/1 15:12
 */
public interface EnvironmentResourceRuleService {

    /**
     * 根据编码查询
     * @param code
     * @return
     */
    EnvironmentResourceRule findByCode(String code);

    /**
     * 分页查询
     * @param pageNumber
     * @param pageSize
     * @param division
     * @param code
     * @return
     */
    ResultState findPages(Integer pageNumber, Integer pageSize, String division, String code);
}
